home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / DISK / DIRED306.ARJ / DIREDIT.DOC next >
Text File  |  1992-02-29  |  54KB  |  1,003 lines

  1.           
  2.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  3.           
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                 DIREDIT - Directory Editor                                __________________________
  14.  
  15.                            Copyright (1985-1992), P. R. Fletcher                           _____________________________________
  16.                                     All Rights Reserved                                    ___________________
  17.  
  18.  
  19.  
  20.                         Distributed by:
  21.  
  22.                                Computer Counselors, Inc.
  23.                                1515 West Montgomery Avenue
  24.                                Rosemont
  25.                                PA 19010
  26.  
  27.  
  28.  
  29.                                   _______
  30.                              ____|__     |               (tm)
  31.                           --|       |    |-------------------
  32.                             |   ____|__  |  Association of
  33.                             |  |       |_|  Shareware
  34.                             |__|   o   |    Professionals
  35.                           -----|   |   |---------------------
  36.                                |___|___|    MEMBER
  37.  
  38.            
  39.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  40.           
  41.                                      TABLE OF CONTENTS                                     _________________
  42.  
  43.  
  44.           User-Supported Software                                    1
  45.           Introduction                                               2
  46.           Hardware and Software Requirements                         3
  47.           Running DIREDIT                                            4
  48.           The Screen Display                                         5
  49.           Editing the Directory                                      6
  50.           Sorting the Directory                                      8
  51.           Limitations and Restrictions                               9
  52.           Bugs and Other Unpleasant Subjects                         9
  53.           Changes from Previous Versions                            10
  54.           APPENDICES                                                13
  55.             A - Summary of Single-Key Commands                      13
  56.             B - Known Hardware Incompatibilities                    14
  57.             C - Using DIREDIT with RAMdisks                         15
  58.           Registration Form                                         16
  59.            
  60.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  61.           
  62.                                   USER-SUPPORTED SOFTWARE                                  _______________________
  63.  
  64.           Much of the software which is available for your computer has, in the
  65.           past, been produced and sold on the assumption that you are a crook
  66.           and that you will take any available opportunity to cheat software
  67.           writers and vendors out of their rightful reward. Such software was
  68.           copy-protected within an inch of its (and your computer's) life and
  69.           was priced at a level which still guaranteed its producers a profit
  70.           even if four or five illegal copies were made for each one sold.
  71.           Thankfully, prices of commercial software have (for the most part)
  72.           come down somewhat, and copy-protection is becoming much less
  73.           prevalent, but buying such software remains something of a lottery -
  74.           you often cannot be sure that the software does what you want in the
  75.           way you want it done until you have paid for it. User-supported
  76.           software is different. You may have got a copy of this program free
  77.           from a friend or a bulletin board or (for a nominal fee) from a users'
  78.           group or software library. In any case, you have a perfectly legal
  79.           working copy of DIREDIT. You are encouraged to make as many copies of
  80.           the package as you like and to distribute them to all your friends.
  81.           If, after trying the program out, you find that it is useful and want
  82.           to continue to keep and use it, you must register your copy by sending
  83.           the registration fee ($20.00, unless you are already a registered user
  84.           of HDTEST, in which case it is $10.00) together with the completed
  85.           registration form, to the address on the form. Only your conscience
  86.           can make you do this (although you are probably breaking the law if              ____                                                           
  87.           you don't), but bear in mind that the distributors of "user-supported"
  88.           software are making the assumption that you are honest and willing to
  89.           pay a reasonable price for a useful program, many commercial software
  90.           vendors, on the other hand, would still apparently rather believe you
  91.           are a crook. You can decide who you would rather prove right.
  92.           Registered users will be entitled to support, upgrades, and help with
  93.           DIREDIT-related problems (including telephone support) for a year from
  94.           the date of registration.
  95.  
  96.           The author of this program is a member of the Association of Shareware
  97.           Professionals (ASP).  ASP wants to make sure that the shareware
  98.           principle works for you. If you are unable to resolve a shareware-
  99.           related problem with an ASP member by contacting the member directly,
  100.           ASP may be able to help. The ASP Ombudsman can help you resolve a
  101.           dispute or problem with an ASP member, but does not provide technical
  102.           support for members' products. Please write to the ASP Ombudsman at
  103.           545 Grover Road, Muskegon, MI 49442, or send a Compuserve message via
  104.           easyplex to ASP Ombudsman 70007,3536"
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.           
  116.           
  117.                                           Page 1 
  118.            
  119.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  120.           
  121.                                        INTRODUCTION                                       ____________
  122.  
  123.           DIREDIT is a program which allows you to "edit" DOS directories. There
  124.           are a large number of programs, some in the public domain, others
  125.           available as components of commercial utility packages (e.g. the
  126.           Norton Utilities (TM)), which allow directories to be sorted in                                                                ______   
  127.           various ways (by filename, by file type ("extension"), by modification
  128.           date, by size), but DIREDIT was initially one of the very few which
  129.           also allowed the user to specify an arbitrary order and/or to move
  130.           individual directory entries around at will. Although this capability
  131.           has now become more common, I believe (and users have told me) that
  132.           DIREDIT's "pick it up and move it" implementation is more convenient
  133.           than the approaches used by others. DIREDIT also displays the
  134.           directory in a very compact manner, with up to 80 file-names visible
  135.           on the screen at once, but allows you to see the full file description
  136.           for any entry simply by moving a cursor to the name.
  137.  
  138.           You may reasonably ask why you should care how your directories are
  139.           arranged - one answer to this question depends on the fact that the
  140.           order in which subdirectories and files are listed in the order in
  141.           which DOS searches through them (when asked to find a data file or
  142.           executable program). It follows from this that programs and data files
  143.           will be accessed fastest if they appear at the top of the directory
  144.           listing of the subdirectory in which they are found, and also that
  145.           subdirectories (especially those which are specified in your PATH
  146.           command) should, for fast access, be at the top of the root directory
  147.           listing. On the other hand, many people find it easier to find a file
  148.           that they are searching for if the directory is sorted in some other
  149.           way. The advantages (in this context) of alphabetical sorts by name
  150.           and/or type are obvious, but sorting by size or date/time (most
  151.           recently modified files at the bottom or top) can also sometimes be
  152.           useful.
  153.  
  154.           You can use DIREDIT for either or both purposes - arranging your
  155.           directories on disk for efficient access and then resorting them
  156.           temporarily on the screen when searching for a file without
  157.           (necessarily) saving the resorted directory to disk.
  158.  
  159.           Although a small number of people have Registered earlier versions of
  160.           DIREDIT, and most of these have been very enthusiastic about the
  161.           program, it has been much less popular than HDTEST, my other Shareware
  162.           offering. Part of the reason for this may have been that the Shareware
  163.           version of the program, while fully functional, would only work on a
  164.           restricted range of (IBM BIOS compatible) devices. Partly to
  165.           investigate this possibility, I decided to change the way I
  166.           distributed DIREDIT. This version of DIREDIT is (at the time of its
  167.           release) the most recent version - the previous absolute distinction
  168.           between Shareware and Registered versions has been abandoned, and any
  169.           substantial future upgrades will result in new Shareware releases. The          ___________                                                           
  170.           DIREDIT distribution "package" is "User-supported Software", and may
  171.           be copied and distributed freely for evaluation under the normal
  172.           "Shareware" conditions. Registration as a user of DIREDIT entitles you
  173.           to receive the next major upgrade on disk, to be notified of the
  174.           
  175.           
  176.                                           Page 2 
  177.            
  178.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  179.           
  180.           availability of future upgrades, bug fixes, newly discovered incom-
  181.           patibilities, etc., and to ask for (and get) necessary help in
  182.           adapting the program to work on your hardware. I cannot guarantee to
  183.           make DIREDIT work with every possible combination of hardware and
  184.           operating system software, but I will promise to try to solve problems
  185.           as they come up, and I will return your registration fee if I cannot
  186.           support the program on your system.  Support is available to                                                                    __
  187.           registered users only by mail to me at 1515 West Montgomery Avenue,          _____________________                                              
  188.           Rosemont, PA 19010, by BIXmail (to pfletcher), and by Compuserve EMail
  189.           (to 72255,305).  Please bear in mind that my willingness and ability
  190.           to continue to support and enhance these programs will be (to some
  191.           extent) inversely dependent on the number of questions I get that
  192.           could be answered by reading the documentation(!). Telephone support
  193.           is also available to Registered Users.
  194.  
  195.           DIREDIT was written principally in C, compiled by the Microsoft C
  196.           compiler (Version 6.00A) using its "small" memory model, and linked
  197.           with code from the distributed Microsoft C object libraries using the
  198.           Microsoft LINK program (Version 6.00).  Additional assembly language
  199.           routines were assembled by the Microsoft MASM Macro Assembler (Version
  200.           6.00). Portions of the distributed program are consequently Copyright
  201.           (C) by Microsoft Corp., 1985 - 1990. All rights reserved. These
  202.           portions are used under the terms of a license from Microsoft Corp.
  203.  
  204.           DIREDIT was written with care and has been used and tested on a number
  205.           of different systems.  I cannot, however, give any guarantee as to
  206.           their performance on a specific system, nor can I accept liability for
  207.           any actual or consequential loss resulting from their use.  The
  208.           program may only be used and/or copied in its original form.
  209.           Unauthorised modifications and/or the use of all or part of the
  210.           program in other software, commercial or otherwise, are strictly
  211.           prohibited.
  212.  
  213.  
  214.                              HARDWARE & SOFTWARE REQUIREMENTS                             ________________________________
  215.  
  216.           DIREDIT makes a number of assumptions about the environment in which
  217.           it is operating. The program will, generally speaking, abort with an
  218.           informative error message if it finds one of these assumptions to be
  219.           untrue! It requires MS/PC-DOS 2.0 or above and at least 96 Kb of free
  220.           memory (the exact amount required depends on the size of the target
  221.           device and directory) to run. The device on which the target directory
  222.           is found must be recognizable by DOS as a standard "block" device,
  223.           addressed by one of the normal device names ("A:" through  "Z:").
  224.           Versions of DIREDIT before V2.00 used BIOS calls to read and write the
  225.           directory information, restricting its use to floppy disks and those
  226.           hard disks (the majority, in fact) whose BIOSes were capable of
  227.           handling (at least) normal disk reads and writes in a way that was
  228.           compatible with that documented for the XT and AT disk adapters in
  229.           IBM's technical documentation. This version of DIREDIT uses only DOS
  230.           calls, and should, therefore, also be usable on those hard disks and
  231.           other storage devices which are not BIOS compatible with XT/AT disks
  232.           and/or require special drivers to be installed. RAMdisks present
  233.           
  234.           
  235.                                           Page 3 
  236.            
  237.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  238.           
  239.           special problems, because their device drivers may not obey all the
  240.           rules laid down by Microsoft for block-replaceable devices
  241.           (particularly with regard to the structure and/or presence of a "boot
  242.           sector" at the lowest numbered sector on the device). If you have
  243.           problems running DIREDIT on a RAMdisk, you should read Appendix C for
  244.           a more detailed discussion of likely problems and their solution.
  245.  
  246.           Users of non IBM-compatible MS-DOS systems should scan Appendix B
  247.           before proceeding, to check that no special considerations apply to
  248.           the running of the program on their systems. Owners of 99.99%
  249.           IBM-compatible "clones" should not have any problems.  DIREDIT will
  250.           not run in the DOS compatibility box under OS/2 (OS/2 does not support          ___                                                                   
  251.           the DOS INT 25/26 disk read/write interrupts), and should be used only
  252.           with great caution under other DOS-compatible multi-user and/or multi-
  253.           tasking OSes.
  254.  
  255.  
  256.                                    RUNNING DIREDIT                                   _______________
  257.  
  258.           Although DIREDIT will, in practice, coexist happily with most resident                                                                   ____         
  259.           software ("Pop-ups", desk utilities, resident spelling checkers,
  260.           etc.), the total impossibility of my checking every one of the
  261.           hundreds of commercial, shareware, and PD resident utilities for
  262.           compatibility forces me to suggest that you remove such software from
  263.           memory before running DIREDIT. You should never use any resident                                                    _____                 
  264.           software that may read or write to the device you are "editing" from                                                                          ____
  265.           within DIREDIT. Similarly, you should not run DIREDIT under a DOS-          ______________                                                    
  266.           compatible multi-user or multi-tasking operating system unless you are
  267.           absolutely sure that no other tasks and/or users are accessing the
  268.           device that it is working on.
  269.  
  270.           The program is invoked with the command:
  271.  
  272.                                   DIREDIT [pathname]
  273.  
  274.           If a pathname is not specified on the command line, the program will
  275.           default to the current directory. Otherwise, any valid DOS path
  276.           specification may be used (some examples are:  A:\; A:\SUB1\SUB2;
  277.           \SUB1\SUB2 {referred to the root directory of the current device};
  278.           SUB3\SUB4 {starting from the current directory}). Note that there is
  279.           one difference between the way DIREDIT interprets path specifications
  280.           and the way DOS normally does. DIREDIT will interpret a specification
  281.           which contains a drive but no path (e.g. A:) as referring to the root                                                                           ____
  282.           directory on the specified drive, rather than the default directory on                                                            _______             
  283.           that drive (if one has been named in a "CD" command).
  284.  
  285.           DIREDIT will display its copyright screen and pause until you press a
  286.           key - it will then read in the directory to be edited and check to see
  287.           whether the first file or files in the directory have the "System"
  288.           attribute. If they do (typically true for the files that contain the
  289.           normally resident component of the operating system, which are to be
  290.           found in the root directory of a bootable disk), DIREDIT asks whether
  291.           you wish to exclude these files from directory sort operations. You
  292.           
  293.           
  294.                                           Page 4 
  295.            
  296.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  297.           
  298.           should not override the default ("Y") answer to this question unless
  299.           you are sure you know what you are doing (!) - if the operating system
  300.           boot files are not first in the directory, the disk may cease to be                         ___                                                 
  301.           bootable. After you have responded to this question (assuming that it
  302.           was necessary for DIREDIT to ask it) the program will switch to its
  303.           normal display mode.
  304.  
  305.           On the upper 20 lines of the terminal screen are displayed up to 80
  306.           "identifier blocks", each comprising an ID number (which initially
  307.           corresponds to the position of the directory entry in the directory)
  308.           and a file name. An inverse video box cursor, initially positioned
  309.           over the first (top lefthand) block, indicates the current entry. This
  310.           box can be moved to highlight any visible block by using the arrow
  311.           keys. The "Cursor->" display line at the bottom of the screen shows
  312.           the full description of the file or directory whose name is in the
  313.           current block. In addition to "normal" directory information (name,
  314.           creation date and time, size) this line shows whether any of the DOS
  315.           file attribute bits are set. Set bits are indicated by the appearance
  316.           of one or more upper-case letters at the end of the line. The
  317.           possibilities are:
  318.  
  319.           [A]rchive - this indicates that the file has been modified since it
  320.           was last backed up by the DOS BACKUP utility. Under DOS 3.2 and above,
  321.           this bit can also be set or reset by using the ATTRIB command.
  322.  
  323.           [H]idden - this indicates that the file has been made invisible to
  324.           normal directory searches. The system files on a bootable disk will
  325.           always be labelled as "hidden" (as well as "system"), as will some
  326.           files created by software copy-protection systems.
  327.  
  328.           [R]eadonly - this indicates that the file can be "seen" and read but
  329.           not written to or deleted. Under DOS 3.x and above, this bit can be
  330.           set or reset using the ATTRIB command.
  331.  
  332.           [S]ystem - this indicates that the file is a "system" file. DOS does
  333.           not currently make any special use of this bit, which was inherited
  334.           from CP/M, but this may change in future revisions. "System" files are
  335.           always also labelled "hidden" to make them invisible to normal
  336.           directory searches.
  337.  
  338.           If there are less than 81 active directory entries (the normal case!),
  339.           all will be displayed at once, otherwise only the first 80 will
  340.           (initially) be visible.
  341.  
  342.  
  343.                                     THE SCREEN DISPLAY                                    __________________
  344.  
  345.           The names and ID numbers of up to 80 files and/or subdirectories are
  346.           displayed on the top 20 lines of the screen. If the directory being
  347.           edited contains more than this number of entries, DIREDIT allows you
  348.           to "page" up and down within it so that you can inspect or operate on
  349.           any entry. In this case (more than 80 files in the directory), the
  350.           screen is divisible into two windows through an imaginary line drawn
  351.           
  352.           
  353.                                           Page 5 
  354.            
  355.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  356.           
  357.           vertically down its center. The left-hand window will always contain
  358.           40 blocks; the right-hand one will contain up to 40 more. Each window
  359.           may be positioned (using the <PgUp>, <PgDn>, <Home>, and <End> keys)
  360.           anywhere within the directory, except that the two windows may never
  361.           overlap and that the left hand window must always remain "below" the
  362.           right hand one in the directory. When the program starts up, the two
  363.           windows are "locked", so that they move together. Pressing the "L" key
  364.           toggles the lock so that they can move independently.
  365.  
  366.           <PgUp> (or <F3>) moves the current window (i.e. the one which contains
  367.           the block cursor) up by twenty entries.
  368.  
  369.           <PgDn> (or <F4>) moves the current window down by twenty entries.
  370.  
  371.           <Home> moves the current window as far towards the beginning of the
  372.           directory as possible (so that the first 40 (or 80) entries are
  373.           shown).
  374.  
  375.           <End> moves the current window as far towards the bottom of the
  376.           directory as possible (so that the screen shows the last 21 to 40 (or
  377.           61 to 80) entries).
  378.  
  379.           If the windows are not "locked" together and an attempted window move
  380.           would otherwise cause them to overlap (i.e. the inactive window is
  381.           immediately adjacent to the current one in the direction of the
  382.           attempted move) OR the windows are "locked" together (which is the
  383.           default case), both windows are moved. If an attempted window move
  384.           would cause either window to go off the top or bottom of the file, it
  385.           does not take place and the command is simply ignored (no error
  386.           message is generated). Note that window moves do not normally affect
  387.           the position of the cursor within the window.                                     _________________ 
  388.  
  389.           The lower part of the screen display shows additional details of the
  390.           directory entry on which the cursor is positioned, similar details of
  391.           the entry that is being "moved" (if any), and other information. The
  392.           bottom line shows the full pathname of the directory being edited. The
  393.           last character on this line, which is normally blank, is changed to an
  394.           asterisk (*) if any changes have been made to the directory being
  395.           edited.
  396.  
  397.  
  398.                                    EDITING THE DIRECTORY                                   _____________________
  399.  
  400.           The simplest way of making small changes to the order of files in the
  401.           directory is by moving individual entries. An individual entry is
  402.           moved by positioning the cursor on the identifier block, "picking it
  403.           up" by pressing the <Del> key, positioning the cursor at the point to
  404.           which the entry is to be moved, and "inserting" it there by pressing
  405.           the <Ins> key. The full description of the entry that is in the
  406.           process of being moved is shown on the "Moving->" display at the
  407.           bottom of the screen. You may not exit (which causes the disk
  408.           directory to be updated, and would, in this case, cause the "moving"
  409.           entry to be lost) while an entry is being moved - you must replace it
  410.           
  411.           
  412.                                           Page 6 
  413.            
  414.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  415.           
  416.           somewhere first. An entry which is being moved is also automatically
  417.           put back (at the current cursor position) before a sort operation is
  418.           carried out. Note that you can move "System" entries from the                                     ___                               
  419.           beginning of the root directory manually, but you will be prompted for                                          ________                              
  420.           confirmation before you are allowed to "pick them up".
  421.  
  422.           A number of other single-key commands are implemented, as described
  423.           below. Many of them trigger short dialogues, and the commands with
  424.           potentially far-reaching effects usually require confirmation before
  425.           you are allowed to do something you might regret. Note that, although
  426.           the editor commands do not require that the <Return> key be pressed
  427.           also, responses to prompts always do.
  428.  
  429.           "D" - change the date stamp on the current file. The program prompts
  430.           with the current date stamp - the new date should be entered in the
  431.           same format. Invalid dates will be rejected but any valid date between
  432.           January 1, 1980 and December 31, 2099 may be entered. <CR> retains the
  433.           current date stamp.
  434.  
  435.           "L" - toggle the "lock" which (by default) forces both windows to move
  436.           together. This has no perceptible effect unless there are more than 80
  437.           entries in the directory.
  438.  
  439.           "M" - display the next of a series of single-line "aides-memoire" to
  440.           available commands which appear on the 23rd line of the screen.
  441.           Repeatedly pressing this key will cycle through lines describing all
  442.           valid commands.
  443.  
  444.           "N" - edit a new directory (you are automatically given the option of
  445.           writing the one currently being edited to disk first, if changes have
  446.           been made to it).
  447.  
  448.           "Q" - quit the program without updating the current directory. If you                                 _______                                       
  449.           have made any changes during the current session, the program will
  450.           prompt for confirmation before actually quitting.
  451.  
  452.           "R" - rename the current file. The program will prompt you to enter
  453.           the new name. Invalid names (too long, containing illegal characters,
  454.           etc.) will be rejected, as will a name that is the same as one of
  455.           another file entry in the current directory. <CR> retains the current
  456.           name.
  457.  
  458.           "S" - sort the directory (see below).
  459.  
  460.           "X" - exit and (if any changes have been made) update the current
  461.           directory.
  462.  
  463.           "?" or <F1> - display help text.
  464.  
  465.  
  466.  
  467.  
  468.  
  469.           
  470.           
  471.                                           Page 7 
  472.            
  473.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  474.           
  475.                                     SORTING THE DIRECTORY                                    _____________________
  476.  
  477.           The directory display (and, ultimately, the directory on disk) may be
  478.           sorted by date, filename, extension, or file size, in ascending or
  479.           descending order. It may also be rearranged in any other arbitrary
  480.           order you care to specify.
  481.  
  482.           When you press "S", the program will pause for two seconds to give you
  483.           time to press another key, indicating the type of sort required. If
  484.           you do not type anything within the time allowed, or if the key you
  485.           press does not indicate a valid choice, the program will determine
  486.           your choice by asking you a series of questions. The choices (in the
  487.           order in which they are presented) are:
  488.  
  489.           "[O]ptimal" order - This sorts the directory for greatest efficiency
  490.           (under normal circumstances). Subdirectories are put first, in
  491.           alphabetical order by name, then come executable files (those with
  492.           .BAT, .COM, and .EXE extensions) sorted in alphabetical order by
  493.           extension and name. Finally come the rest of the files in the
  494.           directory, sorted alphabetically by name.
  495.  
  496.           [U]ser-Specified Order - this option allows you to rearrange the file
  497.           entries in an arbitrary order. You will be prompted to enter two lists
  498.           of file numbers (the numbers displayed next to the filenames on the
  499.           screen). The first list should contain the numbers of files which you
  500.           would like to move to the top of the directory (in the order in which
  501.           you want them to appear there) - the second should contain the numbers
  502.           of files which you want to move to the bottom, also in the order in
  503.           which they are to appear. Either list may be empty (just press
  504.           <Return>). The lists should contain only the file numbers, as decimal
  505.           integers, separated by one or more spaces and/or tabs.
  506.  
  507.           Sort by [F]ilename - sorts alphabetically by name and extension.
  508.  
  509.           Sort by [E]xtension - sorts by extension first, then by filename (for
  510.           files with the same extension).
  511.  
  512.           Sort by [D]ate/Time - sorts by file modification date, then by
  513.           modification time.
  514.  
  515.           Sort by file [S]ize - does what it says (!)
  516.  
  517.           For all of these options except "user-specified order", the program                                   ______                                    
  518.           also prompts you to specify whether you want the directory sorted in
  519.           [A]scending or [D]escending order before it completes the sort.
  520.           Ascending order is from A to Z for alpha sorts, from past to future
  521.           for the date/time sort, and from small to big for the size sort.
  522.           Descending order is, of course, the reverse in each case.
  523.  
  524.           "System" files at the beginning of a directory will be excluded from
  525.           all sorts unless specifically included (by a "N" response when the                                        __                                  
  526.  
  527.  
  528.           
  529.           
  530.                                           Page 8 
  531.            
  532.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  533.           
  534.           program asks you whether you want them excluded). In fact, if you have
  535.           moved such a file manually to some other position, any sort will
  536.           result in its being put back where it came from.
  537.  
  538.  
  539.                                       IMPORTANT NOTE                                      ______________
  540.  
  541.           You should review the directory you have been editing (e.g. by using
  542.           the DOS DIR command) after exiting from DIREDIT, in order to check
  543.           that it looks the way it should. If it doesn't look right, before                                                                     ______
  544.           doing anything else, run CHKDSK or reboot the system and then check it          ___________________                                                   
  545.           again - if it still doesn't look right, you will have to DIREDIT it
  546.           again. These precautions are advised because DOS keeps a number of
  547.           sectors worth of data (including directory data) from your disks in
  548.           memory (the actual number of sectors held in this way is set by the
  549.           "BUFFERS=..." line in CONFIG.SYS. If you use DIREDIT (which reads and
  550.           writes the directory sectors using low-level DOS functions) to change
  551.           a directory that DOS is holding in memory, the BUFFERed image of the
  552.           directory is not automatically updated. This deficiency in DOS                       ___                                              
  553.           presents a potential problem because, if you were then to do something
  554.           that changed the directory (write a new file, change an old file,
  555.           etc.) from within DOS, DOS would make the appropriate changes to its
  556.           copy of the (old) directory and write it back over the new directory.                       ___                              ____                   
  557.           Because there appears to be no way of telling DOS that the contents of
  558.           its sector buffers may be invalid, DIREDIT flushes them (on entry and
  559.           before exiting) by performing a disk reset operation. It is possible
  560.           (though not very likely) that there are circumstances under which
  561.           DIREDIT will fail to flush the DOS sector buffers when it terminates -
  562.           running CHKDSK always seems to flush them successfully, and rebooting
  563.           is guaranteed to do so. Because other disk cache programs intercept
  564.           all DOS level disk read and write calls, they should present no          ___                                                          __
  565.           problems to DIREDIT.
  566.  
  567.  
  568.                                LIMITATIONS AND RESTRICTIONS                               ____________________________
  569.  
  570.           The current version of DIREDIT has a few theoretical limitations,
  571.           which result from the way data is stored internally by the program.
  572.           None of them is likely to be encountered in normal use of the program
  573.           on any but the most bizarre hardware. The program's memory usage
  574.           depends more on the size of the target device than on that of the                                                 ______                    
  575.           target directory, but it should operate happily with any conceivable                 _________                                                    
  576.           device and directory size on any system with at least 256 Kb of free
  577.           memory (over and above that occupied by DOS), and will usually require
  578.           much less free memory than this.
  579.  
  580.  
  581.                             BUGS AND OTHER UNPLEASANT SUBJECTS                            __________________________________
  582.  
  583.           Although, like all programmers, I would like to think that my program
  584.           was perfect, it is possible that there are a few bugs lurking in its
  585.           depths, and quite likely that there exists some combination of
  586.           software and hardware which DIREDIT cannot figure out and/or cope
  587.           
  588.           
  589.                                           Page 9 
  590.            
  591.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  592.           
  593.           with. If you think you have found a bug and/or if you cannot get the
  594.           program to work on your system, proceed as follows:
  595.  
  596.           1) Reread this documentation! Make sure that you are doing exactly
  597.           what the documentation and/or program prompts tell you to do. Make
  598.           sure (if you are trying to edit a directory on a drive with removable
  599.           media) that the media is not write-protected.
  600.  
  601.           2) Boot your system from a "virgin" DOS disk - preferably a copy of
  602.           your DOS distribution disk - and try to run DIREDIT again. If the
  603.           program runs in this limited environment, but not in your normal DOS
  604.           environment, try reconstructing the system under which it failed (by
  605.           adding things one by one until the problem recurs) and let me know
  606.           about the incompatibility.
  607.  
  608.           3) If the above approaches do not help, or if they appear to confirm
  609.           an undocumented incompatibility, send me as detailed a description of
  610.           the problem as possible and I will do my best to diagnose and fix it.
  611.           A bug/incompatibility report should always include a full description                                              ______           ____            
  612.           of the system (software and hardware) on which the program is being
  613.           run. Send reports/questions by mail to the address given on the first
  614.           page of this documentation, by BIXmail (to pfletcher), by Compuserve
  615.           EMail (to 72255,305) or, for Registered Users with urgent problems,                                       ________________      ______          
  616.           call me on the telephone (the number is to be found on the card or
  617.           letter which you should have received acknowledging your
  618.           Registration).  Please bear in mind that my willingness and ability to
  619.           continue to support and enhance these programs will be dependent on
  620.           the number of Registrations I receive, and (to some extent) inversely
  621.           dependent on the number of questions I get that could be answered by
  622.           reading the documentation(!).
  623.  
  624.  
  625.                               CHANGES FROM PREVIOUS VERSIONS                              ______________________________
  626.  
  627.           The first version of DIREDIT that was generally released was V1.20.
  628.           The following only shows changes incorporated at each of the
  629.           subsequent significant "watersheds" in the program's development prior
  630.           to V3.00. Intermediate versions will have contained some but not all
  631.           of the changes shown as included in the releases listed here. The
  632.           V2.xx releases were only sent to Registered Users.
  633.  
  634.           V3.06          _____
  635.  
  636.           1) Changes to memory allocation code to prevent aborts with large
  637.           (> 48 KB) FAT sizes on > 32 MB partitions.
  638.  
  639.           V3.05 (this version)          _____               
  640.  
  641.           1) Minor change in "clean-up" code for faster exit on slower hardware.
  642.  
  643.  
  644.  
  645.  
  646.           
  647.           
  648.                                          Page 10 
  649.            
  650.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  651.           
  652.           V3.04 (this version)          _____               
  653.  
  654.           1) Fix for bug causing problem with program finding .HLP file in PATH
  655.           (last directory path in PATH was not being parsed correctly).
  656.  
  657.           V3.02          _____
  658.  
  659.           1) Minor changes to termination code (to ensure that user-selected
  660.           DOS screen colors are restored after exit).
  661.  
  662.           2) Minor changes to startup code and copyright screen, with no
  663.           functional consequences.
  664.  
  665.           V3.00          _____
  666.  
  667.           1) ANSI driver requirement removed. Major rewrite of low-level screen-
  668.           handling code to use Microsoft C V5.1 screen support functions.
  669.  
  670.           2) Full DOS 4.0 (and Compaq DOS 3.31) support added.
  671.  
  672.  
  673.           V2.24          _____
  674.  
  675.           1) Minor deficiencies (stray characters) in lower part of screen
  676.           display corrected.
  677.  
  678.           2) Minor (and possibly inconsequential) logic error in assembly
  679.           language code fixed. This error could have been responsible for the
  680.           rare reports I have received of system crashes and/or "Stack Overflow"
  681.           errors as the program terminates on some clones, but I have been
  682.           unable to duplicate the described problems on any of the systems to
  683.           which I have access.
  684.  
  685.           3) Deficiency preventing a move to the last space in the directory                                          __                                
  686.           corrected.
  687.  
  688.  
  689.           V2.20          _____
  690.  
  691.           1) Changes to cursor key routines to implement "wrapping" from
  692.           beginning to end and from side to side of the screen.
  693.  
  694.           2) Bugs and deficiencies in new disk I/O routines fixed.
  695.  
  696.  
  697.           V2.00          _____
  698.  
  699.           1) Added "Optimal" order option to [S]ort command.
  700.  
  701.           2) Added ability to specify type of sort by single additional
  702.           character appended to [S]ort command.
  703.  
  704.  
  705.           
  706.           
  707.                                          Page 11 
  708.            
  709.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  710.           
  711.           3) Changes to disk I/O routines to support a greater variety of
  712.           devices.
  713.  
  714.  
  715.           V1.51          _____
  716.  
  717.           1) Bugs causing improper operation of the [R]ename option fixed.
  718.  
  719.           2) Copyright screen modified (to show author's new address!).
  720.  
  721.  
  722.           V1.40          _____
  723.  
  724.           1) Bug causing the program to abort with a "Non-existent or Invalid
  725.           Directory" error if the program were given a path specification
  726.           containing only a drive name (e.g. A:) fixed.
  727.  
  728.           2) Memory allocation/deallocation problem causing the program to abort
  729.           with a "Invalid Device" error after the "N" option was used to edit a
  730.           (variable) number of directories one after another fixed.
  731.  
  732.           3) ANSI driver reset to normal mode (insert line feed after 80th
  733.           successive printable character output to screen) when program exits.
  734.  
  735.           4) Changes to program logic to reduce unnecessary screen updating.
  736.  
  737.  
  738.           V1.30          _____
  739.  
  740.           1) Bug causing sorts by file size to result in incorrect ordering
  741.           under some circumstances fixed.
  742.  
  743.           2) Ability to use the faster screen output mode provided by certain
  744.           ANSI enhancers added.
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.           
  765.           
  766.                                          Page 12 
  767.            
  768.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  769.           
  770.                         APPENDIX A - SUMMARY OF SINGLE-KEY COMMANDS                        ___________________________________________
  771.  
  772.  
  773.           <PgUp> (or <F3>) - move the current window up by twenty entries.
  774.  
  775.           <PgDn> (or <F4>) - move the current window down by twenty entries.
  776.  
  777.           <Home> - move the current window as far towards the beginning of the
  778.           directory as possible.
  779.  
  780.           <End> - move the current window as far towards the bottom of the
  781.           directory as possible.
  782.  
  783.           <Del> - "pick up" directory entry for move.
  784.  
  785.           <Ins> - "put down" directory entry.
  786.  
  787.           "D" - change the date stamp on the current file.
  788.  
  789.           "L" - toggle the "lock" which (by default) forces both windows to move
  790.           together.
  791.  
  792.           "M" - display the next of a series of single-line "aides-memoire" to
  793.           available commands which appear on the 23rd line of the screen.
  794.  
  795.           "N" - edit a new directory.
  796.  
  797.           "Q" - quit the program without updating the current directory.                                 _______                                
  798.  
  799.           "R" - rename the current file.
  800.  
  801.           "S" - sort the directory - subcommands:
  802.               "D" - by date/time.
  803.               "E" - by extension.
  804.               "F" - by filename.
  805.               "O" - "optimal" order.
  806.               "S" - by file size.
  807.               "U" - user-specified (arbitrary) order.
  808.  
  809.           "X" - exit and (if any changes have been made) update the current
  810.           directory.
  811.  
  812.           "?" or <F1> - display help text.
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.           
  824.           
  825.                                          Page 13 
  826.            
  827.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  828.           
  829.                        APPENDIX B - KNOWN HARDWARE INCOMPATIBILITIES                       _____________________________________________
  830.  
  831.  
  832.           Tandy 2000 - Earlier versions of DIREDIT would run on this machine but
  833.           the screen output was badly scrambled, effectively making it useless.
  834.           The current version of the program uses totally different screen
  835.           output routines, so the problem may be solved, but this has not yet                                                                      ___    
  836.           been confirmed.
  837.  
  838.           TI Professional - DIREDIT must be run under the (TI-supplied)
  839.           EMULATE.COM program. <F3> and <F4> are used instead of PgUp and PgDn
  840.           (which do not exist on the TI keyboard).
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.           
  883.           
  884.                                          Page 14 
  885.            
  886.           Documentation for DIREDIT V3.06         Copyright 1992, P. R. Fletcher          ________________________________       _______________________________
  887.           
  888.                          APPENDIX C - USING DIREDIT WITH RAMDISKS                         ________________________________________
  889.  
  890.  
  891.           In general, you can most conveniently arrange files on a RAMDisk
  892.           simply by copying them onto it in the order in which you want them to
  893.           appear in the directory listing. The following discussion is for those
  894.           who like to do things the hard way and have some understanding of the                                             ___                               
  895.           hardware (!). RAMDisk drivers go to different lengths to emulate
  896.           "real" devices, from those (the minority) which create a complete
  897.           memory image of a floppy or hard disk, including a valid boot sector,
  898.           to those which rely on the device driver code to interpret sector read
  899.           and write commands on the basis of its own "understanding" of what may
  900.           be a very non-standard "disk" format. DIREDIT can and does use more
  901.           than one approach to deduce the format of a disk (hard, floppy, or
  902.           RAM!), but the program needs information which is not normally easily
  903.           available to programs running under DOS, and usually gets it from the
  904.           BIOS Parameter Block (BPB) area in the device's boot sector. If there
  905.           is no boot sector, the only remaining way of getting the needed
  906.           information requires DOS 3.2 or above and that the device driver
  907.           supports the generic IOCTL functions which were introduced with DOS
  908.           3.2 (few, if any, RAMDisk driverss do support these functions at
  909.           present). If there is a boot sector and it is valid, DIREDIT should                             __               _______________                
  910.           not have any problems. If there is a boot sector but the information
  911.           in it is incomplete or invalid, you may be able to make it usable by
  912.           using the VALIDATE program supplied with this package.
  913.  
  914.           The command syntax for VALIDATE is "VALIDATE d", where d is replaced
  915.           by the device name of your RAMDisk (with or without a ":"). The
  916.           program will also allow modification of the boot sectors on floppy and
  917.           hard disks, but should be used with care, if at all, on these devices
  918.           unless you are absolutely sure you know what you are doing. VALIDATE                         _______________                                      
  919.           reads the first logical sector on the device and, if it seems possible
  920.           that this is a boot sector, displays the contents of what should be
  921.           its BPB area. You can then (with some help from the program) adjust
  922.           the contents of the BPB, presumably to reflect reality, and write it
  923.           back to the RAMDisk. VALIDATE will not allow you to write an obviously
  924.           incorrect or inconsistent BPB back to the disk, but there are limits
  925.           to its ability to identify invalid data - you should know what you are
  926.           doing before you make any changes. For some reason, RAMDisk drivers
  927.           frequently create boot sectors which do not end with the standard
  928.           (55AA Hex) boot segment "signature", but are otherwise valid. The
  929.           "signature" is added automatically by VALIDATE when the sector is
  930.           rewritten, even if no other changes are made. After you have rewritten
  931.           the boot sector, DIREDIT should work properly on the disk.
  932.  
  933.           I am aware that these instructions are somewhat cursory - if you have
  934.           a real need to use DIREDIT on a RAMDisk and want more help, contact me
  935.           directly.
  936.  
  937.  
  938.  
  939.  
  940.  
  941.           
  942.           
  943.                                          Page 15 
  944.  
  945.                            REGISTRATION FORM - DIREDIT                           ___________________________
  946.  
  947.      Please complete this form and return it with a check or money order (no
  948.      cash, please) for $20.00 (+ tax for PA residents, $30.00 Canadian,
  949.      L15.00 Sterling) to:
  950.  
  951.                      Peter R. Fletcher
  952.                      1515 West Montgomery Avenue
  953.                      Rosemont
  954.                      PA 19010
  955.                      U.S.A.
  956.  
  957.      None of the information on this form will be passed on to any other
  958.      individual or commercial organization.
  959.  
  960.      --------------------------------------------------------------------------
  961.  
  962.      This information is required to process your Registration:
  963.  
  964.      Last Name:____________________________  Other Names:______________________
  965.  
  966.      Address:______________________________  Town/City:________________________
  967.  
  968.      State:_____________  Post Code:____________  Telephone:_________________
  969.                                                            (evenings/weekends)
  970.  
  971.      DIREDIT Version #:_______________  Serial #:_______________
  972.                                 (see copyright screen)
  973.  
  974.      I understand that this software is supplied without warranty, express or
  975.      implied, and agree not to hold its author liable for any direct or
  976.      consequential loss arising out of my use of it.
  977.  
  978.      Signature:______________________________
  979.  
  980.      -------------------------------------------------------------------------
  981.  
  982.      You are requested also to answer the following questions:
  983.  
  984.      On What type(s) of computer are you using DIREDIT? ______________________
  985.  
  986.      CPU (8088, 8086, etc.)? __________   Amount of RAM (kB)? ____________
  987.  
  988.      Type & Size of Hard Disk(s)? ____________________________________
  989.  
  990.      Make and Type of Hard Disk Controller(s)? ______________________________
  991.  
  992.      Do you own a Modem?                                             Y  N
  993.  
  994.      Are you a member of BIX?   Y  N        Compuserve?              Y  N
  995.  
  996.      How did you obtain/hear about this program?
  997.  
  998.      Did you think that the $20.00 registration fee for this program was:
  999.      Very Good Value?              About Right?             Excessively High?
  1000.  
  1001.      Are there any other utility programs that you would like to see made
  1002.      available as "User Supported Software"? What sort of programs?
  1003.